<html>
<head>
<title></title>
</head>

<body>
	<wicket:extend>
		<form wicket:id="formDiet">
		<h1>Vygeneruj si vlastný jedálniček</h1>
		<table>
			<tr>
				<th>En. hodnota, ktorú chces prijať</th>
				<th>Počet potravín</th>
			</tr>
			<tr>
				<td><input type="text" size="20" wicket:id="userCalories"/></td>
				<td><input type="text" size="20" wicket:id="numberOfMeals"/></td>
			</tr>
		</table>
		
		<h2>Vygenerovaný jedálniček</h2>
		<table>
			<tr>
				<th>Potravina</th>
				<th>En. hodnota</th>
				<th>Sacharidy</th>
				<th>Tuky</th>
				<th>Bielkoviny</th>
				<th>Hmotnost/Objem</th>
			</tr>
			<tr wicket:id="row">
				<td size="20"><a class="linkToRecipe" wicket:id="linkToFood"><span wicket:id="foodName"></span></a></td>
				<td size="20"><span wicket:id="foodCalories"/>kJ</td>
				<td size="20"><span wicket:id="foodSaccharides"/>g</td>
				<td size="20"><span wicket:id="foodFats"/>g</td>
				<td size="20"><span wicket:id="foodProteins"/>g</td>
				<td size="20"><span wicket:id="foodWeight"/>g/ml</td>
			</tr>
			<tr>
				<td>Spolu</td>
				<td><span wicket:id="totalCalories"/>kJ</td>
				<td><span wicket:id="totalSaccharides"/>g</td>
				<td><span wicket:id="totalFats"/>g</td>
				<td><span wicket:id="totalProteins"/>g</td>
				<td><span wicket:id="totalWeight"/>g</td>
			</tr>
		</table>
		<!-- <h1 wicket:id="dietName"></h1>
		<h2>Popis:</h2>
		<p wicket:id="dietDescription"></p>
		<h2>Celkove hodnoty:</h2>
		<table>
			<tr>
				<th>En. hodnota</th>
				<th>Sacharidy</th>
				<th>Tuky</th>
				<th>Bielkoviny</th>
			</tr>
			<tr>
				<td size="20">46074 kJ</td>
				<td size="20">1265 g</td>
				<td size="20">327 g</td>
				<td size="20">719 g</td>
			</tr>
		</table>
		
		<h2>Pondelok:</h2>
		<h3>1. jedlo</h3>
		<table>
			<tr>
				<th>Potravina</th>
				<th>En. hodnota</th>
				<th>Sacharidy</th>
				<th>Tuky</th>
				<th>Bielkoviny</th>
				<th>Hmotnost/Objem</th>
			</tr>
			<tr>
				<td size="20">Uhorky</td>
				<td size="20">67kJ</td>
				<td size="20">2g</td>
				<td size="20">0g</td>
				<td size="20">1g</td>
				<td size="20">100g</td>
			</tr>
			<tr>
				<td size="20">Paprika</td>
				<td size="20">33kJ</td>
				<td size="20">0g</td>
				<td size="20">0g</td>
				<td size="20">0g</td>
				<td size="20">50g</td>
			</tr>
			<tr>
				<td size="20">Paradajka</td>
				<td size="20">52kJ</td>
				<td size="20">2g</td>
				<td size="20">0g</td>
				<td size="20">1g</td>
				<td size="20">50g</td>
			</tr>
			<tr>
				<td size="20">Syr</td>
				<td size="20">326kJ</td>
				<td size="20">1g</td>
				<td size="20">6g</td>
				<td size="20">8g</td>
				<td size="20">30g</td>
			</tr>
			<tr>
				<td size="20">Chlieb</td>
				<td size="20">516kJ</td>
				<td size="20">23g</td>
				<td size="20">1g</td>
				<td size="20">4g</td>
				<td size="20">70g</td>
			</tr>
			<tr>
				<td size="20">Šunka</td>
				<td size="20">159kJ</td>
				<td size="20">4g</td>
				<td size="20">1g</td>
				<td size="20">4g</td>
				<td size="20">30g</td>
			</tr>
			<tr>
				<td size="20">Spolu</td>
				<td size="20">1153kJ</td>
				<td size="20">32g</td>
				<td size="20">8g</td>
				<td size="20">18g</td>
				<td size="20">330g</td>
			</tr>
		</table>
		<h3>2. jedlo</h3>
		<table>
			<tr>
				<th>Potravina</th>
				<th>En. hodnota</th>
				<th>Sacharidy</th>
				<th>Tuky</th>
				<th>Bielkoviny</th>
				<th>Hmotnost/Objem</th>
			</tr>
			<tr>
				<td size="20">Uhorky</td>
				<td size="20">67kJ</td>
				<td size="20">2g</td>
				<td size="20">0g</td>
				<td size="20">1g</td>
				<td size="20">100g</td>
			</tr>
		</table>-->
		
		
		
		
		
		
		
		<table>
			<tr>
				<td><input class="submitBtn" type="submit" value="Pridať jedálniček k zjedeným" wicket:id="submitBtn"/></td>
				<td><input class="cancelBtn" type="button" value="Pregenerovať jedálniček" wicket:id="cancelBtn"/></td>
			</tr>
		</table>
	</form>
	</wicket:extend>
</body>
</html>